package com.five.service;

import com.five.dto.ReplyRequest;
import com.five.pojo.Novel;

import java.util.List;


public interface AuthorInteractionService {


    /**
     * 获取作者书籍及评论
     * @param authorId
     * @return
     */
    List<Novel> getAuthorBooksWithComments(Long authorId);

    /**
     * 作者回复评论
     * @param request
     */
    void replyToComment(ReplyRequest request);

    /**
     * 删除作者自己评论
     * @param interactionId
     */
    void deleteInteraction(Long interactionId);
}